package com.nd.sdp.android.person5;

import com.nd.sdp.android.person5.fly.IFly;
import com.nd.sdp.android.person5.ride.IRide;
import com.nd.sdp.android.person5.run.IRun;

import javax.inject.Inject;

public class Person {

    @Inject
    IFly fly;
    @Inject
    IRide ride;
    @Inject
    IRun run;

    Person() {
    }

    public void flyAndRide() {
        fly.fly();
        ride.ride();
    }

    public void run() {
        run.run();
    }

}
